< previous page page_242 next page >

Page 242
12181-0242a.gif
Figure 9.6.
Third normal form is the final step in reducing redundant data in a database.
Note
Although putting your database into third normal form will completely eliminate redundant data, sometimes it's more practical to deviate from this method to improve performance. If your application tracks a salesman and you need to display a total sales amount that requires a calculation of thousands of rows of data, you might find it worthwhile to include this total column in the salesman table and update it every time a sale is made. This will affect performance a little because of the update process, but overall you'll notice better performance because the large calculations don't have to be performed. You always can make tradeoffs between application performance and database design. For every application, you must find a middle ground that you're comfortable with and that gives you the optimal performance you want.

 
< previous page page_242 next page >

If you like this book, buy it!